package com.ymk.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.ymk.base.BaseVO;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 岗位分享表
 * </p>
 *
 * @author 莫参商
 * @since 2023-08-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("work_share")
public class WorkShare extends BaseVO {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    @TableField("user_id")
    private String userId;

    /**
     * 分享页面
     */
    @TableField("page")
    private String page;

    /**
     * 分享的岗位id
     */
    @TableField("work_id")
    private Integer workId;

    /**
     * 生成图片保存路径
     */
    @TableField("file_path")
    private String filePath;


}
